package com.codeoss.framework.response;

public class CommonResponse {
	public static final int CODE_OK=1;
	public static final int CODE_ERROR=0;
	public static final int CODE_SESSION_TIMEOUT=2;
	
	private int code=CODE_OK;
	private String message;
	private Object para1;
	private Object para2;
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getPara1() {
		return para1;
	}
	public void setPara1(Object para1) {
		this.para1 = para1;
	}
	public Object getPara2() {
		return para2;
	}
	public void setPara2(Object para2) {
		this.para2 = para2;
	}
}
